<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="head.html::head">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:text="${msg}"></div>
<div th:text="${agd}"></div>
<div id="top" th:include="head.html::top"></div>
<div id="left" th:include="left.html::left"></div>
<table>
    <h3><a th:href="@{/ordersadd}">添加订单</a></h3>
    <tr><th>用户id</th></tr>
    <tr><th>订单时间</th></tr>
    <tr><th>订单总数</th></tr>
    <tr th:each="orders:${orderslist}">
        <td th:text="${orders.getUid()}"></td>
        <td th:text="${orders.getOtime()}"></td>
        <td th:text="${orders.getOtotal()}"></td>
        <td>
            <a th:href="@{/delOrders/} + ${orders.getOid()}">删除</a>
            <a th:href="@{/orders/} + ${orders.getOid()}">编辑</a>
        </td>
    </tr>
</table>
</body>
</html>